const liveServer = require("live-server");

const params = {
    port: 9000,
    root: "./dist",
    open: false,
    file: "index.html",
    wait: 1000,
    logLevel: 2,
    middleware: [function (req, res, next) { next(); }]
};

liveServer.start(params);
